﻿
namespace GameEngine
{
    /// <remarks>
    ///     Simple Point with integer dimensions instead of double.
    /// </remarks>
    public class IntPoint
    {

        /// <summary>
        ///     x dimension
        /// </summary>
        public int X;
        /// <summary>
        ///     y dimension
        /// </summary>
        public int Y;


        /// <summary>
        ///     Constructor with 2 parametres initializes x and y.
        /// </summary>
        /// <param name="Width">x dimension of size-width</param>
        /// <param name="Height">y dimension of size-height</param>
        public IntPoint(int x, int y)
        {
            this.X = x;
            this.Y = y;
        }


        /// <summary>
        ///     Constructor creates new object with 0 as default value for x and y.
        /// </summary>
        public IntPoint()
            : this(0, 0)
        {
        }


    }
}
